﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HabraReader
{
    public partial class SettingsForm : Form
    {
        public SettingsForm()
        {
            InitializeComponent();
        }

        private void SaveButton_Click(object sender, EventArgs e)
        {
            AppSettings.Settings.URL = URL.Text;
            AppSettings.Settings.UpdateTime = (int)UpdateTime.Value;
            AppSettings.Settings.EnableAutoUpdate = EnableAutoUpdate.Checked;
            AppSettings.Settings.ShowNotice = ShowNotice.Checked;
            AppSettings.Save();
        }
    }
}
